home *** CD-ROM | disk | FTP | other *** search
- Path: comma.rhein.de!serpens!not-for-mail
- From: mlelstv@serpens.rhein.de (Michael van Elst)
- Newsgroups: comp.sys.amiga.misc
- Subject: Re: OS features
- Date: 19 Jan 1996 00:37:55 +0100
- Organization: dis-
- Message-ID: <4dmlkj$9fr@serpens.rhein.de>
- References: <DLE6q5.71B@inter.NL.net>
- NNTP-Posting-Host: serpens.rhein.de
-
- hguijt@inter.NL.net (Hans Guijt) writes:
-
- >I agree, to a point. The real functionality of SetIntVector () is not 'put
- >the machine into supervisor mode', rather it is 'react quickly to some
- >hardware event you think you can handle better then the OS'.
-
- No. SetIntVector() is strictly for drivers and, with current hardware,
- there is no real legitimate use for it.
-
- >This
- >functionality is necessary for some hardware drivers (anything that uses
- >int7 for instance).
-
- Right. But int7 is hardly useful.
-
- >And I don't see a use for SuperState, but that just means I cannot foresee
- >all possible future uses for the Amiga.
-
- I does have its use although SuperVisor() is probably easier. Doesn't
- mean that regular applications should use it.
-
- >Does PPC have user/supervisor modes anyway?
-
- It would look bad without.
-
- >The point I wanted to make was that neither you nor I can foresee where the
- >Amiga will be used, nor should we try to limit it to our vision.
-
- I don't limit it. I explicitely limit it with the option to let
- privileged programs overcome these limits. This makes normal operation
- safer.
-
- >How could you assure most programs do not use certain calls?
-
- I forbid these calls. They revert to Alert() or just dummies.
-
- >The question is: how much security do you want?
-
- As much as possible.
-
- >- Do you want full security (ie. OS *always* running)? This will make it
- >hard to run other OS's on the Amiga. It will also stop demo's and games from
- >taking over the machine completely.
-
- Other OSes do not use Exec system calls at all, they take over the
- machine.
-
- Same for current games and demos. But for games it is a big PRO to stop
- them from taking over the machine completely.
-
- >- Or do you want programs that can crash if they take trouble to do it?
-
- If you do not restrict access you will never see when such programs use
- dangerous functions.
-
- >The only way you can get 'them' (you know, the K0derz) to use the OS is to
- >built the basic a1200 in 4-5 flavors, each with different hardware. *And*
- >change that hardware at regular intervals.
-
- Maybe..
-
- >Adding protection to PPC programs is a lot easier done, because none exist
- >yet that can break programming conventions.
-
- Adding protection to PPC programs is as difficult as you do not want to
- write a completely incompatible new OS.
-
- >A better solution would probably take into account that a message has only
- >one owner at a time (either the sender is working with it or the receiver -
- >never both).
-
- --
- Michael van Elst
-
- Internet: mlelstv@serpens.rhein.de
- "A potential Snark may lurk in every tree."
-